<template>
  <div>
    <!-- 轮播图 -->
  <mt-swipe :auto="4000">
    <mt-swipe-item>1</mt-swipe-item>
    <mt-swipe-item>2</mt-swipe-item>
    <mt-swipe-item>3</mt-swipe-item>
  </mt-swipe>

    <!-- 九宫格 -->
  <ul class="mui-table-view mui-grid-view mui-grid-9">
    <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/home/newslist">
            <span class="mui-icon mui-icon-home"></span>
            <div class="mui-media-body">新闻资讯</div></router-link></li>
    <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/home/newslist">
            <span class="mui-icon mui-icon-email"><span class="mui-badge">5</span></span>
            <div class="mui-media-body">Email</div></router-link></li>
    <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/home/newslist">
            <span class="mui-icon mui-icon-chatbubble"></span>
            <div class="mui-media-body">Chat</div></router-link></li>
    <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/home/newslist">
            <span class="mui-icon mui-icon-location"></span>
            <div class="mui-media-body">location</div></router-link></li>
    <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/home/newslist">
            <span class="mui-icon mui-icon-search"></span>
            <div class="mui-media-body">Search</div></router-link></li>
    <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><router-link to="/home/newslist">
            <span class="mui-icon mui-icon-phone"></span>
            <div class="mui-media-body">Phone</div></router-link></li>

</ul>
  </div>
</template>

<script>
export default {
  data(){
    return{}
  },
  methods:{
    getData(){
      this.$http.get("http://www.escook.cn:3000/api/getlunbo").then((Response) => {

        console.log(Response.body)
      })
    }
  },
  created(){
    // this.getData()
  }
}
</script>

<style  scoped>
.mint-swipe{
  height :120px;
}
.mint-swipe-item:nth-child(1){
  background-color: red;
}
.mint-swipe-item:nth-child(2){
  background-color: yellow;
}
.mint-swipe-item:nth-child(3){
  background-color: skyblue;
}
</style>


